package day0814;

/**
 * @Author:galaxy_yan
 * @Date: 2022/8/15
 * @Time: 9:33
 * @Description
 * 作业标题(1704)
 * 打印数组
 */
public class text2 {
    public static void main(String[] args) {
        int[] arr={1,2,3,4,5,6,7,8,9};
        printArray(arr);
    }

    private static void printArray(int[] arr) {
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i]+" ");
        }
    }
}
